<?php if (!defined('THINK_PATH')) exit();?><!-- 头部 -->
<!DOCTYPE html>
 <html lang="zh-CN">
<head>

<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>【家教网_<?php echo ($city); ?>老师上门】- 专业名师1对1家教辅导领先品牌</title>
<meta name="Keywords" content="老师上门,<?php echo ($city); ?>家教,一对一家教,一对一辅导" />
<meta name="Description" content="老师上门为您推荐<?php echo ($city); ?>家教优秀老师,线上预约,线下辅导。1对1家教上门,涵盖中小学各科以及艺术兴趣类优秀师资,有效提升高效学习,满意率超98%,为需要辅导的学员提供专业满意的服务" />
<meta name="author" content="laoshism.com">

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link href="/lssm/Public/home/css/sishudiy.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/lssm/Public/home/css/header2_9.css" rel="stylesheet" type="text/css" media="all"/>

<link href="/lssm/Public/css/layui.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="/lssm/Public/layui.js"></script>

<script type="text/javascript" src="/lssm/Public/home/js/jquery.min.js"></script>

<!-- <script type="text/javascript" src="/lssm/Public/home/js/sishu_parent_common.js"></script> -->
<script async type="text/javascript" src='/lssm/Public/home/js/indexadd.js'></script>

<script type="text/javascript">
function goPAGE() {
    if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
        window.location.href="http://www.laoshism.com/mobile";}
}
goPAGE();

</script>

</head>
<body id="sishugogo" style="background-color: #f8f8f8;">
<!--header-->
<header>

<div class="site_nav">
<div class="site_nav_lr">

<ul class="site_nav_l">
<li><a href="<?php echo U('index/index',array('newcity'=>$city));?>" target="_self">老师上门首页</a></li>
<li>|</li>
<li><a href="javascript:;" target="_self" id="addSiteFavorite">加入收藏</a></li>
</ul>
<!-- login start-->
<?php if (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'laoshi') { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('laoshi/laoshi_core',array('newcity'=>$city));?>" title="我的课程" target="_self">我的课程</a></li>
	<li>|</li>
	<li><a href="<?php echo U('info/laoshi_info',array('id'=>$_SESSION['id'],'newcity'=>$city));?>" title="个人中心" target="_self">个人中心</a></li>
	<li>|</li>
	<li><a href="<?php echo U('laoshi/zlrz',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="<?php echo U('user/logout');?>" title="退出" target="_self">退出</a></li>
	</ul>
<?php }elseif (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'jiazhang') { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('jiazhang/index',array('newcity'=>$city));?>" title="学员中心" target="_self">学员中心</a></li>
	<li>|</li>
	<li><a href="<?php echo U('jiazhang/jiazhang_one',array('newcity'=>$city));?>" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="<?php echo U('user/logout');?>" title="学员中心" target="_self">退出</a></li>
	</ul>
<?php }else { ?>
	<ul class="site_nav_r">
	<li><a href="<?php echo U('user/login',array('newcity'=>$city));?>" title="登录" target="_self">请登录</a></li>
	<li>|</li>
	<li class="signup" id="to_lsjz"><a title="免费注册" href="javascript:;">免费注册</a></li>
	<div id="lsjz" style="width: 200px;height: 120px;background: #fff;position: absolute;top: 30px;display: none;z-index: 1000;box-shadow:3px 3px 3px;">
		<div style="width: 100px;height: 120px;background: #fff;float: left;text-align: center;border-right: 1px solid #f1ebeb;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是学员</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="<?php echo U('user/jz_zhuce',array('newcity'=>$city));?>" style="color:#fff">学员注册</a></p>
		</div>
		<div style="width: 100px;height: 100px;background: #fff;float: left;text-align: center;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是老师</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="<?php echo U('user/ls_zhuce',array('newcity'=>$city));?>" style="color:#fff">老师注册</a></p>
		</div>
	</div>
	</ul>
<?php } ?>
<script type="text/javascript">
	$(function(){
		//alert(1111);toggle hover
		$('#to_lsjz').click(
			function(event) {
			$('#lsjz').toggle();
			}
		);
	})
</script>

</div>

</div>

<div class="headCenter">

<div class="header clear-fx">

<div class="logolay poS">

<a href="<?php echo U('index/index',array('newcity'=>$city));?>" title="老师上门官网" id="logomask" target="_self">

<img src="/lssm/Public/home/images/logo2_9.png" width="210" height="53" alt="老师上门logo" />

</a>

<span id="city_info" >

<div class="hls_gps"><label id="getCity"><?php echo ($city); ?></label>

<span id="chancity">切换城市</span></div>

<div class="showcy" id="showCity">

<ul>
    <?php foreach ($city_info as $c) { ?>
    	<li>
    		<a href="<?php echo U('index/index',array('newcity'=>$c['city_name']));?>" target="_self"><?php echo ($c["city_name"]); ?></a>
    	</li> 
    <?php } ?>          
</ul>

<div class="clear"></div>

<p>更多城市即将开放，敬请期待！</p>

</div>

</span>

</div>
<form action="<?php echo U('classes/index',array('newcity'=>$city));?>" method="post">
	<div class="hls_find">
		<input type="text" name="keyword" placeholder="输入老师姓名或老师ID号" id="find-inp" autocomplete="off" type="text" class="searchinput"/>
		<!-- <span href="javascript:void(0);" class="hls_sou" id="zoomG" onclick="toHlsSou();">搜索</span> -->
		<button class="hls_sou" style="border: 0;">搜索</button>
	</div>
</form>
<ul class="hls_stern">
	<li style="width: 225px;height: 46px;margin-top: 24px;"><img src="/lssm/Public/home/images/tel.png" alt=""></li>
</ul>

<div class="clear"></div>

</div>

</div>
<link href="/lssm/Public/home/css/main2_9.css" rel="stylesheet" type="text/css"media="all" />

<div class="mian_nav">
<div class="mycenter">

<div class="nav_box">
<ul>
    <li class="home"><a href="<?php echo U('index/index',array('newcity'=>$city));?>" target="_self">首页</a></li>
    <li><a href="<?php echo U('index/jiazhang_zn',array('newcity'=>$city));?>" target="_self">学员指南</a></li>
    <li><a href="<?php echo U('index/laoshi_zn',array('newcity'=>$city));?>" target="_self">老师指南</a></li>
    <li><a href="<?php echo U('index/about',array('newcity'=>$city));?>" target="_self">关于平台</a></li>
</ul>
<div class="nav-line" style="left:92px;width:64px;"></div>
</div>
<!-- 首页显示 -->
<div class="hls_slogan" id="hls_slogan"></div>

</div>
</div>

</header>
	<div class="need_table_bg">
		<div class="auto1200 position">
			<div class="need_table_step fl">
				<p>帮您推荐老师</p>
				<div class="need_setpdetails">
					<div class="word_step">
						<p>家长提交需求信息</p>
						<p>课程顾问跟您联系</p>
						<p>帮您推荐合适老师</p>
						<p>预约试听老师课程</p>
						<p>课程顾问确认费用</p>
            <p>线下教学结课续费</p>
					</div>
				</div>
				<p class="warm_phone">老师上门客服电话：020-39936776</p>
			</div>
      <form action="<?php echo U('jiazhang/zhao_laoshi_add',array('newcity'=>$city));?>" method="post">
          <div class="teacherAssigned" style="position: absolute;width: 350px;height: 500px;top: 120px;left: 650px;">
              <p style="text-align: center;font-size: 24px;color: green;font-weight: bold;">需求单</p>

              <div class="table_row" style="padding: 10px 18px 0px;">
                <lable><i>*</i>学生姓名:</lable>
                <input name="name" placeholder="学生姓名" type="text" required lay-verify="required">       
              </div>

              <div class="conditions" style="padding: 10px 18px 0px;">
                  <select class="select_like"  onChange="var jmpURL=this.options[this.selectedIndex].value ;if(jmpURL!='') {window.location=jmpURL; }else{ this.selectedIndex=0; }">
                      <option value="">请选择类别</option>
                      <?php foreach ($grades as $v) { ?>
                          <option value="<?php echo U('jiazhang/zhao_laoshi',array('grade'=>$grade,'name'=>$v['grade_name']));?>" <?php echo ($v['grade_name']==$class?"selected":''); ?>><?php echo ($v["grade_name"]); ?></option>
                      <?php } ?>
                  </select>
              </div>
              <div class="conditions">
                  <select name="kemus" id="" class="select_like">
                      <option value="">请选择科目</option>
                      <?php foreach ($kemus as $v) { ?>
                          <option value="<?php echo ($v['grade_name']); ?>"><?php echo ($v["grade_name"]); ?></option>
                      <?php } ?>
                  </select>
              </div>

              <div class="table_row" style="padding: 10px 18px 0px;">
                  <lable><i>*</i>上课地址</lable>
                  <input name="addr" placeholder="请填写大致位置或区域,等待课程顾问回访" type="text" required lay-verify="required" >
              </div>

              <div class="table_row" style="padding: 10px 18px 0px;">
                <lable><i>*</i>手机号码</lable>
                <input name="phone" placeholder="请填写手机号码" type="text" required lay-verify="required" >
              </div>

              <div class="table_row" style="padding: 10px 18px 0px;">
                <lable><i>*</i>要求备注</lable>
                <input name="beizhu" placeholder="请填写要求备注" type="text" required lay-verify="required" >
              </div>

              <div class="conditions no_botop">
                  <input name="city" type="hidden" value="<?php echo ($city); ?>">
                  <input type="hidden" name="grade" value="<?php echo ($grade); ?>">
                  <input type="hidden" name="class" value="<?php echo ($class); ?>">
                  <input type="hidden" name="class" value="<?php echo ($class); ?>">
                  <button class="btn-blue">确认提交</button>
              </div>
          </div>
      </form>
		</div>
	</div>
<!-- 	<div class="need_table_footer">
    <div class="auto1200">
        <p>Copyright&nbsp;©&nbsp;2015-2019 laoshism.com<span>|</span>粤ICP备16129133号<span></p>
    </div>
   <a href="javascript:void(0);" class="arrow-up" id="arrowup">&nbsp;</a>
</div> -->
<!-- 尾部 -->
<footer>
    <div class="footer">
        <div class="layout clear-fx">
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/news_index',array('newcity'=>$city));?>" target="_blank">新闻公告</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/news_index',array('newcity'=>$city));?>" target="_blank">网站公告</a></li>
                    <li><a href="<?php echo U('notice/news_Report',array('newcity'=>$city));?>" target="_blank">新闻报道</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/jz_help',array('newcity'=>$city));?>" target="_blank">学员帮助</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/jz_help',array('newcity'=>$city));?>" target="_blank">师资如何保障</a></li>
                    <li><a href="<?php echo U('notice/jz_pay',array('newcity'=>$city));?>" target="_blank">常见支付问题</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/ls_help',array('newcity'=>$city));?>" target="_blank">老师帮助</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/ls_help',array('newcity'=>$city));?>" target="_blank">约课授课流程</a></li>
                    <li><a href="<?php echo U('notice/ls_baozhan',array('newcity'=>$city));?>" target="_blank">课时费保障</a></li>
                </ul>
            </div>
            <div class="grid-x">
                <h3><a href="<?php echo U('notice/lianxi_my',array('newcity'=>$city));?>" target="_blank">关注我们</a></h3>
                <ul>
                    <li><a href="<?php echo U('notice/lianxi_my',array('newcity'=>$city));?>" target="_blank">联系我们</a></li>
                    <li><a href="<?php echo U('notice/lianxi_yijian',array('newcity'=>$city));?>" target="_blank">意见反馈</a></li>
                </ul>
            </div>
            <div class="grid-r">
                <a href="javascript:;">
                    <p>020-39936776</p>周一至周日&nbsp;&nbsp;09:30~21:00
                </a>
            </div>
            <div class="grid-a">
                <a href="javascript:;">关注老师上门公众号</a>
            </div>
        </div>
        <div class="copyright">
            Copyright &copy; 2015-2019 laoshism.com
            <span>|</span>
            版权所有：老师上门
            <span>|</span>
            <a href="http://www.miitbeian.gov.cn" style="color: #c5c5c5;" target="_bank">网站备案号：粤ICP备16129133号</a>
        </div>
    </div>
</footer>


// <script type="text/javascript">
//     layui.use(['form','layer'], function(){
//       var layer = layui.layer
//       ,form = layui.form();
//       //layer.msg('Hello World');

//       //交互
//     form.on('submit(*)', function(data){
//       //console.log(arr);
//         $.ajax({
//             url: "<?php echo U('jiazhang/zhao_laoshi_add');?>",//请求地址
//             type: "post",//请求方式
//             dataType: "json",//返回数据类型
//             data: data.field,//发送的参数
//             })
//             .done(function(response) {
//                   if(response.error==0){
//                      layer.msg(response.info ,{icon:5});

//                   }else{
//                      layer.msg(response.info ,{icon:6});
//                      location.reload();
//                   }
//               })
//             .fail(function() {
//                 alert("ajxs交互失败");
//             })  

//           return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
//         });   

//     });
// </script>
</body></html>